#ifndef IODEVICECONTEXT_H
#define IODEVICECONTEXT_H

#include <string>

class IODeviceContext
{
public:
	IODeviceContext(){}
	~IODeviceContext(){}

	static IODeviceContext* newInstance()
	{
		return new IODeviceContext;
	}

	void SetThinkGearPort(std::string port)
	{
		m_ThinkGearPort = port;
	}

	void SetThinkGearBaudRate(int baudrate)
	{
		m_ThinkGearBaudRate = baudrate;
	}

	void SetArduinoControllerPort(std::string port)
	{
		m_ArduinoControllerPort = port;
	}

	void SetArduinoControllerBaudRate(int baudrate)
	{
		m_ArduinoControllerBaudRate = baudrate;
	}


	std::string GetThinkGearPort()
	{
		return m_ThinkGearPort;
	}

	int GetThinkGearBaudRate()
	{
		return m_ThinkGearBaudRate;
	}

	std::string GetArduinoControllerPort()
	{
		return m_ArduinoControllerPort;
	}

	int GetArduinoControllerBaudRate()
	{
		return m_ArduinoControllerBaudRate;
	}

private:

	std::string m_ThinkGearPort;

	int m_ThinkGearBaudRate;

	std::string m_ArduinoControllerPort;

	int m_ArduinoControllerBaudRate;

};

#endif
